package com.yxp.webtest.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

@Data
public class AutowiredObjTest {

    @Autowired
    public Address address;

    public User user;

    @Autowired
    public void setUser(User user){
        this.user = user;
    }


}
